package test;

public class test8 {

    public test8(){
        System.out.println("使用次方法");
    }

    public int c;
    public int d;
public void  Testtree(int c,int d){
     this.c=c;
     this.d=d;
}
public void Q(int c,int d){
    System.out.println(c+d);
}

public static class Test{
    public String brand;
    public String quest;
    public void testone(int a){
        System.out.println(a);
    }
    public void testtwo(String b){
        System.out.println(b);
    }
}
    public static void main(String[] args) {
    test8 U=new test8();
     Test Ts=new Test();
     Ts.brand="ds";
     Ts.testone(4);
     Ts.testtwo("sdsdd");
     Test1 S=new Test1();

     test8 K=new test8();
    K.Testtree(1,9);
     K.Q(1, 9);
     test8 M=new test8();
     M.Testtree(2,3);
    M.Q(2,3);

    }
}
